

/**
 * 
 * 
 * API:
 * ---------------
 * getBPMObjectType()
 * fromXML(xmlNode)
 * 
 */
(function(global){

    'use strict';

    const logger = WorkflowUtil.newLogger("WorkflowApp/BPMActivity");

    let BPMActivity = function () {

        BPMActivity.__super__.constructor.apply(this, arguments);

        this.addAttr("customName", "", "ncn");
        this.addAttr("hasAdvanceEvent", "0", "ae", true);
        this.addAttr("copyNumber", "", "h");
        this.addAttr("copyFrom", "", "g");
        this.addAttr("pasteTo", "", "f");
    };
    //继承
    WorkflowUtil.extend(BPMActivity, global.BPMAbstractNode);
    
    
    
    BPMActivity.prototype.getBPMObjectType = function(){
        return WorkflowConstant.bpmObjType.BPMActivity;
    };
    
    /**
    *
    * 解析xmlNode
    *
    */
    BPMActivity.prototype.fromXML = function(xmlNode){
        
        //调用父类节点解析
        BPMActivity.__super__.fromXML.apply(this, [xmlNode]);
    };
    
    
    global.BPMActivity = BPMActivity;
    
})(WorkflowApp);